Creating a Basic Route in Laravel 8

32

Creating a Basic Route in Laravel 8 -

use App\Http\Controllers\PagesController;

// Create route for About Page
Route::get('about-us', [PagesController::class, 'aboutPage'])->name('pages.about');

Comments

Submit
0 Comments